<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>测试编辑word</title>
    <script type="text/javascript" src="https://7402b552.docs.onlyoffice.com/web-apps/apps/api/documents/api.js"></script>
</head>
<body>

<div id="placeholder"></div>

</body>

<script>
    new DocsAPI.DocEditor("placeholder", {
        "document": {
            "fileType": "docx",
            "key": "017bb4bd91b2440d96ddaec23979299e",
            "title": "Example Document Title.docx",
            // "url": "http://172.16.100.3:12545/dsasd.doc"
            "url": "https://gdyqs.yuntsg.com/upload/202413/1704258540810.docx"
        },
        "documentType": "word",
        // "token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJkb2N1bWVudCI6eyJmaWxlVHlwZSI6ImRvY3giLCJrZXkiOiJLaGlyejZ6VFBkZmQ3IiwidGl0bGUiOiJFeGFtcGxlIERvY3VtZW50IFRpdGxlLmRvY3giLCJ1cmwiOiJodHRwczovL2V4YW1wbGUuY29tL3VybC10by1leGFtcGxlLWRvY3VtZW50LmRvY3gifSwiZG9jdW1lbnRUeXBlIjoid29yZCJ9.7IpEJxdOvBQ0kJ8l6ZegIV4tX5vsPbZZCDDVmcFROXc"
        "token": "017bb4bd91b2440d96ddaec23979299e"
    });
</script>

</html>